#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#pragma once
#define MAX 4

enum
{
	Exit,
	add,
	del,
	find,
	modify,
	show,
	sort,
	destory,
};

typedef struct people
{
	char name[20];
	char age[5];
	char sex[3];
	char tele[20];
	char addr[20];
}people;

typedef struct contant
{
	people* data;
	int size;
	int max;
}contant;

void Initcontant(contant* p);
void addcontant(contant* p);
void delcontant(contant* p);
void findcontant(contant* p);
void modifycontant(contant* p);
void showcontant(contant* p);
void sortcontant(contant* p);
void destorycontant(contant* p);
void close(contant* p);